.sideBar {
  display: flex;
  flex-direction: column;
  width: 140px;
  // overflow: hidden;
  user-select: none;
}

.userInfo {
  width: 100%;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  // background-color: #e7e2e9;

  .notLogin,
  .logging {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
  }

  .notLogin:hover,
  .logging:hover {
    .loginBtn {
      height: 45px;
      opacity: 1;
      transition: all 0.3s;
      background-color: rgba(255, 255, 255, 0.5);
    }
  }

  .loginBtn {
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    opacity: 0;
    border-radius: 0 0 45px 45px;
    text-align: center;

    :global(.ant-btn) {
      border: none;
      margin-top: 4px;
    }
  }

  .vipIcon {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;

    iconify-icon {
      vertical-align: middle;
      margin-right: 2px;
    }
    span {
      color: red;
    }
  }

  .userName {
    position: absolute;
    bottom: 2px;
    font-size: 12px;
    text-align: center;
  }
}

.menuBox {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #f0f5f6;

  :global(.ant-menu) {
    height: 100%;
    background-color: transparent;
    padding: 0 8px;
    border: none !important;

    > :global(.ant-menu-item) {
      margin-block: 8px;
    }

    > :global(.ant-menu-item-selected) {
      background-color: #f56c6c;
      color: #fff;
    }
  }
}

.stateTransition {
  display: flex;
  justify-content: center;
  padding: 5px 12px;
  width: 100%;
  border-top: 1px solid #dadada;
  background-color: #f0f5f6;

  .logout,
  .logging {
    width: 100%;
    height: 40px;
    padding-left: 16px;
    text-align: center;
  }
}
